//定义响应的数据类型
export interface TrademarkResponseData extends ResponseData {
  data: PageData
}
interface ResponseData {
  code: number
  message: string
  ok: boolean
}
interface PageData {
  current: number
  pages: number
  records: Trademark[]
  searchCount: boolean
  size: number
  total: number
}
// 已有品牌的数据类型，新增品牌的时候不需要id
export interface Trademark {
  id?: number | null
  tmName: string
  logoUrl: string
}
//包含全部品牌数据的类型
export type Records = Trademark[]
